<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<title>OpenCV: cv::util::optional&lt; T &gt; Class Template Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon" />
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../tutorial-utils.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
   &#160;<span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d3/dce/namespacecv_1_1util.html">util</a></li><li class="navelem"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d7/d85/classcv_1_1util_1_1optional-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::util::optional&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;opencv2/gapi/util/optional.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab22465abe81369037764c6ac1b799273"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#ab22465abe81369037764c6ac1b799273">optional</a> ()</td></tr>
<tr class="separator:ab22465abe81369037764c6ac1b799273"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09eaedc3d5761ccc237a213e6f4f8d94"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a09eaedc3d5761ccc237a213e6f4f8d94">optional</a> (const <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> &amp;)=default</td></tr>
<tr class="separator:a09eaedc3d5761ccc237a213e6f4f8d94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a5f2400bcd5e4235e543a7c7a903d24"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a0a5f2400bcd5e4235e543a7c7a903d24">optional</a> (T &amp;&amp;) noexcept</td></tr>
<tr class="separator:a0a5f2400bcd5e4235e543a7c7a903d24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70f767e7e0c079616ecb7494e3e5f74d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a70f767e7e0c079616ecb7494e3e5f74d">optional</a> (const T &amp;) noexcept</td></tr>
<tr class="separator:a70f767e7e0c079616ecb7494e3e5f74d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7e3745f571967e65d36bc7eeb640d7f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#ab7e3745f571967e65d36bc7eeb640d7f">optional</a> (<a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> &amp;&amp;) noexcept</td></tr>
<tr class="separator:ab7e3745f571967e65d36bc7eeb640d7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71435dbb18c1f2c0f5868c77a823d539"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a71435dbb18c1f2c0f5868c77a823d539">has_value</a> () const noexcept</td></tr>
<tr class="separator:a71435dbb18c1f2c0f5868c77a823d539"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acaf721831dbcc8a403f8c23b2515a9a3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#acaf721831dbcc8a403f8c23b2515a9a3">operator bool</a> () const noexcept</td></tr>
<tr class="separator:acaf721831dbcc8a403f8c23b2515a9a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98a3906afc1a4005f761124f3fd22e8e"><td class="memItemLeft" align="right" valign="top">T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a98a3906afc1a4005f761124f3fd22e8e">operator*</a> ()</td></tr>
<tr class="separator:a98a3906afc1a4005f761124f3fd22e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37e1e46df264e1fddf325db1e6903c5b"><td class="memItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a37e1e46df264e1fddf325db1e6903c5b">operator*</a> () const</td></tr>
<tr class="separator:a37e1e46df264e1fddf325db1e6903c5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9c384816f316388b844f764d50c5ef7"><td class="memItemLeft" align="right" valign="top">T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#af9c384816f316388b844f764d50c5ef7">operator-&gt;</a> ()</td></tr>
<tr class="separator:af9c384816f316388b844f764d50c5ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a656e8f03c9c93365ad168cc141682658"><td class="memItemLeft" align="right" valign="top">const T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a656e8f03c9c93365ad168cc141682658">operator-&gt;</a> () const</td></tr>
<tr class="separator:a656e8f03c9c93365ad168cc141682658"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63f5b7ed8f6493e16c2816fcc6f287b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a63f5b7ed8f6493e16c2816fcc6f287b0">operator=</a> (const <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> &amp;)=default</td></tr>
<tr class="separator:a63f5b7ed8f6493e16c2816fcc6f287b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a702d7a72eb87236d5195236bbef3d407"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a702d7a72eb87236d5195236bbef3d407">operator=</a> (<a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> &amp;&amp;)</td></tr>
<tr class="separator:a702d7a72eb87236d5195236bbef3d407"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a431117c910e3d0bae5757e3cacc65b60"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a431117c910e3d0bae5757e3cacc65b60">reset</a> () noexcept</td></tr>
<tr class="separator:a431117c910e3d0bae5757e3cacc65b60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac084b122b402d3c64976e0ccad57ddaf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#ac084b122b402d3c64976e0ccad57ddaf">swap</a> (<a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> &amp;other) noexcept</td></tr>
<tr class="separator:ac084b122b402d3c64976e0ccad57ddaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fe7d5e5cdaa44962186c121c64e4495"><td class="memItemLeft" align="right" valign="top">T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a3fe7d5e5cdaa44962186c121c64e4495">value</a> ()</td></tr>
<tr class="separator:a3fe7d5e5cdaa44962186c121c64e4495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99838c47e5462b61fe9c5fea4080b4a2"><td class="memItemLeft" align="right" valign="top">const T &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a99838c47e5462b61fe9c5fea4080b4a2">value</a> () const</td></tr>
<tr class="separator:a99838c47e5462b61fe9c5fea4080b4a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5508081ca60f545c5542b3c466dbd568"><td class="memTemplParams" colspan="2">template&lt;class U &gt; </td></tr>
<tr class="memitem:a5508081ca60f545c5542b3c466dbd568"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html#a5508081ca60f545c5542b3c466dbd568">value_or</a> (U &amp;&amp;default_value) const</td></tr>
<tr class="separator:a5508081ca60f545c5542b3c466dbd568"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab22465abe81369037764c6ac1b799273"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab22465abe81369037764c6ac1b799273">&#9670;&nbsp;</a></span>optional() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::<a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a09eaedc3d5761ccc237a213e6f4f8d94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09eaedc3d5761ccc237a213e6f4f8d94">&#9670;&nbsp;</a></span>optional() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::<a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0a5f2400bcd5e4235e543a7c7a903d24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a5f2400bcd5e4235e543a7c7a903d24">&#9670;&nbsp;</a></span>optional() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::<a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> </td>
          <td>(</td>
          <td class="paramtype">T &amp;&amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a70f767e7e0c079616ecb7494e3e5f74d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70f767e7e0c079616ecb7494e3e5f74d">&#9670;&nbsp;</a></span>optional() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::<a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab7e3745f571967e65d36bc7eeb640d7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7e3745f571967e65d36bc7eeb640d7f">&#9670;&nbsp;</a></span>optional() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::<a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a>&lt; T &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a71435dbb18c1f2c0f5868c77a823d539"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71435dbb18c1f2c0f5868c77a823d539">&#9670;&nbsp;</a></span>has_value()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::has_value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="acaf721831dbcc8a403f8c23b2515a9a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acaf721831dbcc8a403f8c23b2515a9a3">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a98a3906afc1a4005f761124f3fd22e8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98a3906afc1a4005f761124f3fd22e8e">&#9670;&nbsp;</a></span>operator*() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T &amp; <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::operator* </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a37e1e46df264e1fddf325db1e6903c5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37e1e46df264e1fddf325db1e6903c5b">&#9670;&nbsp;</a></span>operator*() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T &amp; <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::operator* </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="af9c384816f316388b844f764d50c5ef7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9c384816f316388b844f764d50c5ef7">&#9670;&nbsp;</a></span>operator->() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T * <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::operator-&gt; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a656e8f03c9c93365ad168cc141682658"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a656e8f03c9c93365ad168cc141682658">&#9670;&nbsp;</a></span>operator->() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T * <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::operator-&gt; </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a63f5b7ed8f6493e16c2816fcc6f287b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63f5b7ed8f6493e16c2816fcc6f287b0">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a>&amp; <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">default</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a702d7a72eb87236d5195236bbef3d407"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a702d7a72eb87236d5195236bbef3d407">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a>&lt; T &gt; &amp; <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a>&lt; T &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>rhs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a431117c910e3d0bae5757e3cacc65b60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a431117c910e3d0bae5757e3cacc65b60">&#9670;&nbsp;</a></span>reset()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac084b122b402d3c64976e0ccad57ddaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac084b122b402d3c64976e0ccad57ddaf">&#9670;&nbsp;</a></span>swap()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">optional</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3fe7d5e5cdaa44962186c121c64e4495"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fe7d5e5cdaa44962186c121c64e4495">&#9670;&nbsp;</a></span>value() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T &amp; <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a99838c47e5462b61fe9c5fea4080b4a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99838c47e5462b61fe9c5fea4080b4a2">&#9670;&nbsp;</a></span>value() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const T &amp; <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5508081ca60f545c5542b3c466dbd568"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5508081ca60f545c5542b3c466dbd568">&#9670;&nbsp;</a></span>value_or()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class U &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../d1/dec/classcv_1_1util_1_1optional.html">cv::util::optional</a>&lt; T &gt;::value_or </td>
          <td>(</td>
          <td class="paramtype">U &amp;&amp;&#160;</td>
          <td class="paramname"><em>default_value</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/gapi/util/<a class="el" href="../../db/dd5/optional_8hpp.html">optional.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:48 for OpenCV by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
